package com.beiye.drivertransport.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ky on 2018/11/7.
 */
//驾驶员指定学习课程列表
public class SpecifiedLearningCourseBean {

    /**
     * result : true
     * data : null
     * msg : 操作成功
     * rows : [{"sn":1573,"otcSn":5210,"creationDate":1540534400000,"readLength":5,"muMark":0,"tcSn":783,"ttName":"法规政策","courseName":"asdf","courseLength":5,"studyState":1},{"sn":1522,"otcSn":5200,"creationDate":1540366486000,"readLength":5,"muMark":0,"tcSn":674,"ttName":"运输知识","courseName":"001地区安全教育测试课程","courseLength":5,"studyState":1},{"sn":1521,"otcSn":5201,"creationDate":1540366412000,"readLength":5,"muMark":0,"tcSn":673,"ttName":"事故案例","courseName":"003pt安全教育测试课程","courseLength":5,"studyState":1},{"sn":1520,"otcSn":5202,"creationDate":1540366282000,"readLength":5,"muMark":0,"tcSn":672,"ttName":"运输知识","courseName":"001pt安全教育测试课程","courseLength":5,"studyState":1},{"sn":1519,"otcSn":5203,"creationDate":1540365852000,"readLength":5,"muMark":0,"tcSn":785,"ttName":"运输知识","courseName":"重庆市道路运001","courseLength":5,"studyState":1},{"sn":1518,"otcSn":5204,"creationDate":1540364903000,"readLength":5,"muMark":0,"tcSn":784,"ttName":"法规政策","courseName":"顶顶顶","courseLength":5,"studyState":1}]
     * total : 6
     * code : 0
     */

    private boolean result;
    private Object data;
    private String msg;
    private int total;
    private int code;
    private List<RowsBean> rows;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean implements Serializable{
        /**
         * sn : 1573
         * otcSn : 5210
         * creationDate : 1540534400000
         * readLength : 5
         * muMark : 0
         * tcSn : 783
         * ttName : 法规政策
         * courseName : asdf
         * courseLength : 5
         * studyState : 1
         */

        private int sn;//从业人员安全学习时意思sn序列号（重学时才使用）,岗前培训时意思sn序列号 (正常学习时使用)//企业管理员课程序列号
        private int otcSn;//从业人员企业培训计划课程序列号规则：不为空并且大于0时为计划学时课程，否则为课程超市课程（正常学习指定课程时使用）
        private long creationDate;

        private int muMark;
        private int tcSn;
        private String ttName;
        private String courseName;
        private int courseLength;

        private int studyState;

        private int mark;
        private int readLength;
        private int utcSn;//岗前培训用户学时课程序列号（重新学习使用）
        private  int atcSn;//企业管理员计划课程序列号

        public int getAtcSn() {
            return atcSn;
        }

        public void setAtcSn(int atcSn) {
            this.atcSn = atcSn;
        }

        public int getStudyState() {
            return studyState;
        }

        public void setStudyState(int studyState) {
            this.studyState = studyState;
        }

        public int getMark() {
            return mark;
        }

        public void setMark(int mark) {
            this.mark = mark;
        }
        public int getUtcSn() {
            return utcSn;
        }

        public void setUtcSn(int utcSn) {
            this.utcSn = utcSn;
        }
        public int getSn() {
            return sn;
        }

        public void setSn(int sn) {
            this.sn = sn;
        }

        public int getOtcSn() {
            return otcSn;
        }

        public void setOtcSn(int otcSn) {
            this.otcSn = otcSn;
        }

        public long getCreationDate() {
            return creationDate;
        }

        public void setCreationDate(long creationDate) {
            this.creationDate = creationDate;
        }

        public int getReadLength() {
            return readLength;
        }

        public void setReadLength(int readLength) {
            this.readLength = readLength;
        }

        public int getMuMark() {
            return muMark;
        }

        public void setMuMark(int muMark) {
            this.muMark = muMark;
        }

        public int getTcSn() {
            return tcSn;
        }

        public void setTcSn(int tcSn) {
            this.tcSn = tcSn;
        }

        public String getTtName() {
            return ttName;
        }

        public void setTtName(String ttName) {
            this.ttName = ttName;
        }

        public String getCourseName() {
            return courseName;
        }

        public void setCourseName(String courseName) {
            this.courseName = courseName;
        }

        public int getCourseLength() {
            return courseLength;
        }

        public void setCourseLength(int courseLength) {
            this.courseLength = courseLength;
        }

    }
}
